cmake_minimum_required(VERSION 3.0)

project(nlcpp)

# find_package(library REQUIRED)

file(GLOB SRC_FILES
    "${PROJECT_SOURCE_DIR}/*.cpp"
    "${PROJECT_SOURCE_DIR}/../nlcpp/*.h"
    "${PROJECT_SOURCE_DIR}/../Eigen/*.h")
add_executable(${CMAKE_PROJECT_NAME} ${SRC_FILES})

target_include_directories(${CMAKE_PROJECT_NAME} PUBLIC
                           "${PROJECT_SOURCE_DIR}/.."
		                   "${PROJECT_SOURCE_DIR}/../nlcpp")
# target_link_libraries(${CMAKE_PROJECT_NAME} PUBLIC library)

target_compile_features(${CMAKE_PROJECT_NAME} PUBLIC cxx_std_17)

#add_custom_command(
#    TARGET ${CMAKE_PROJECT_NAME}
#    POST_BUILD
#    COMMAND ${CMAKE_COMMAND} -e copy_directory 
#        "${PROJECT_SOURCE_DIR}/assets"
#        "$<TARGET_FILE_DIR:${PROJECT_SOURCE_DIR}>/assets")
